package com.netsdk.module.entity;

import com.netsdk.lib.NetSDKLib;

import java.util.Arrays;

public class ShiJian {
    //通道号
    private int nChannelID;
    //事件名称
    private byte[] szName;
    //规则编号
    private int nRuleID;
    //相对事件时间戳
    private double pts;
    //事件ID
    private int nEventID;

    @Override
    public String toString() {
        return "ShiJian{" +
                "nChannelID=" + nChannelID +
                ", szName=" + Arrays.toString(szName) +
                ", nRuleID=" + nRuleID +
                ", pts=" + pts +
                ", nEventID=" + nEventID +
                ", Sequence=" + Sequence +
                ", nStateNum=" + nStateNum +
                ", stuStates=" + Arrays.toString(stuStates) +
                ", nPresetID=" + nPresetID +
                ", emClassType='" + emClassType + '\'' +
                ", nStopVehiclenum=" + nStopVehiclenum +
                ", nDetectionAreaVehicleNum=" + nDetectionAreaVehicleNum +
                ", emOverflowState=" + emOverflowState +
                '}';
    }

    public int getnChannelID() {
        return nChannelID;
    }

    public void setnChannelID(int nChannelID) {
        this.nChannelID = nChannelID;
    }

    public byte[] getSzName() {
        return szName;
    }

    public void setSzName(byte[] szName) {
        this.szName = szName;
    }

    public int getnRuleID() {
        return nRuleID;
    }

    public void setnRuleID(int nRuleID) {
        this.nRuleID = nRuleID;
    }

    public double getPts() {
        return pts;
    }

    public void setPts(double pts) {
        this.pts = pts;
    }

    public int getnEventID() {
        return nEventID;
    }

    public void setnEventID(int nEventID) {
        this.nEventID = nEventID;
    }

    public int getSequence() {
        return Sequence;
    }

    public void setSequence(int sequence) {
        Sequence = sequence;
    }

    public int getnStateNum() {
        return nStateNum;
    }

    public void setnStateNum(int nStateNum) {
        this.nStateNum = nStateNum;
    }

    public NetSDKLib.NET_TRAFFIC_FLOW_STATE[] getStuStates() {
        return stuStates;
    }

    public void setStuStates(NetSDKLib.NET_TRAFFIC_FLOW_STATE[] stuStates) {
        this.stuStates = stuStates;
    }

    public int getnPresetID() {
        return nPresetID;
    }

    public void setnPresetID(int nPresetID) {
        this.nPresetID = nPresetID;
    }

    public String getEmClassType() {
        return emClassType;
    }

    public void setEmClassType(String emClassType) {
        this.emClassType = emClassType;
    }

    public int getnStopVehiclenum() {
        return nStopVehiclenum;
    }

    public void setnStopVehiclenum(int nStopVehiclenum) {
        this.nStopVehiclenum = nStopVehiclenum;
    }

    public int getnDetectionAreaVehicleNum() {
        return nDetectionAreaVehicleNum;
    }

    public void setnDetectionAreaVehicleNum(int nDetectionAreaVehicleNum) {
        this.nDetectionAreaVehicleNum = nDetectionAreaVehicleNum;
    }

    public int getEmOverflowState() {
        return emOverflowState;
    }

    public void setEmOverflowState(int emOverflowState) {
        this.emOverflowState = emOverflowState;
    }

    //序号
    private int Sequence;
    //流量状态数量
    private int nStateNum;
    private NetSDKLib.NET_TRAFFIC_FLOW_STATE[] stuStates;
    //该事件触发的预置点
    private int nPresetID;
    //智能事件所属大类
    private String emClassType;
    //流量状态数量
    private int nStopVehiclenum;
    //流量状态数量
    private int nDetectionAreaVehicleNum;
    //溢出状态
    private int emOverflowState;

}
